package com.mc.clt.domain;

import com.mc.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Data
public class CltInfo extends BaseEntity {
    private String value;
    private Date startDate;
    private Date endDate;
    private String place;
    private String type;
    private String taskId;
    private String taskType;
    private String location;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("value", getValue())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("place", getPlace())
                .append("type", getType())
                .append("taskId", getTaskId())
                .append("taskType", getTaskType())
                .append("location", getLocation())
                .toString();
    }
}
